import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import './vendor';
import { Search2SharedModule } from 'app/shared/shared.module';
import { Search2CoreModule } from 'app/core/core.module';
import { Search2AppRoutingModule } from './app-routing.module';
import { Search2HomeModule } from './home/home.module';
import { Search2EntityModule } from './entities/entity.module';
// jhipster-needle-angular-add-module-import JHipster will add new module here
import { MainComponent } from './layouts/main/main.component';
import { NavbarComponent } from './layouts/navbar/navbar.component';
import { FooterComponent } from './layouts/footer/footer.component';
import { PageRibbonComponent } from './layouts/profiles/page-ribbon.component';
import { ActiveMenuDirective } from './layouts/navbar/active-menu.directive';
import { ErrorComponent } from './layouts/error/error.component';
import { UploadPageComponent } from './upload-page/upload-page.component';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { SearchResultComponent } from './search-result/search-result.component';
import { SafeHtmlPipe } from './search-result/SafeHtmlPipe';

@NgModule({
  imports: [
    BrowserModule,
    Search2SharedModule,
    Search2CoreModule,
    Search2HomeModule,
    // jhipster-needle-angular-add-module JHipster will add new module here
    Search2EntityModule,
    Search2AppRoutingModule,
    NzUploadModule,
  ],
  declarations: [
    MainComponent,
    NavbarComponent,
    ErrorComponent,
    PageRibbonComponent,
    ActiveMenuDirective,
    FooterComponent,
    UploadPageComponent,
    SearchResultComponent,
    SafeHtmlPipe,
  ],
  bootstrap: [MainComponent],
})
export class Search2AppModule {}
